﻿using Interfaces.Model;

namespace Interfaces.Library
{
    public interface IWorkPieceDataCaptureLibrary
    {
        IFuncResult<string> initialize(); //初始化类
        IFuncResult<string> doConnectPLC();  //连接到PLC
        void doReadProduceData(string strSeed, IDataModel model_data);  //读数据的方法
        void doSaveData();  //保存数据的方法
        void doCheckMQTTState(); //检验PLC的连接状态
    }
}
